home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
DB_CLIPP
/
0669.ZIP
/
STATUS.DOC
< prev
next >
Wrap
Text File
|
1987-01-08
|
2KB
|
65 lines
Author : Wee-Ming Chong
Date : January 8, 1987
Copyright : All rights reserved by the author.
Notes : Placed into the public domain for use with Clipper
Winter '85 version. See docs below.
Trademarks: Clipper is a trademark of Nantucket Inc.
dBASE is a trademark of Ashton-Tate Inc.
Documentation
Files : STATUS.DOC --- This file you are reading
STATUS.OBJ --- The object file that contain the functions
TEST.PRG --- A test program to test the functions.
The file status.obj contains three simple public routines written
in assembler for use with Clipper. They are :
NUM_LOCK(), CAP_LOCK(), SCR_LOCK()
Simply link the object file along with your Clipper programs
and use the functions like any Clipper function. The result
of the function call can also be assigned to boolean variables
or checked immediately.
Example :
.. statements ..
if NUM_LOCK()
? 'Numlock is on'
else
? 'Numlock is off'
endif
.. statements ..
caplock = cap_lock()
if caplock
? 'Caplock is on'
else
? 'Caplock is off'
endif
I wrote the above functions out of response to a fellow BBS'er
request. I did not include the source file to the functions
because :
1. I intend to add more functions from time to time. ( I do
dBASE programming from time to time).
2. The functions may not work with Clipper Autumm '86 ( I did
not upgrade my compiler yet ). The functions have only been
tested with Winter '85 version.
3. I wish to maintain consistency in the function and procedure
calls that I may add later on.
4. I am basically shy.
Direct queries to :
Wee-Ming Chong
61 Cook Street
San Francisco
CA 94118
( 415 ) 668-0117 (Night or day)